init.d: Fix xencommons init script chkconfig configuration
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 22 Jun 2010 15:22:30 +0000 (16:22 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 22 Jun 2010 15:22:30 +0000 (16:22 +0100)
Fix the xencommons init script chkconfig configuration since the
priority was missing here and chkconfig was complaining about invalid
chkconfig script so I added both start and stop priorities to the
chkconfig line and it was working fine, the script was successfully
added to chkconfig when using `chkconfig --add xencommons` and
management using the chkconfig utility was now possible.

Tested on RHEL-5 Server with Xen-4.1-unstable installed, running on
PVops kernel 2.6.32.15 and it was working fine.

Signed-off-by: Michal Novotny <minovotn@redhat.com>
tools/hotplug/Linux/init.d/xencommons

index 873e42c7f411e6354e0d5b5ecb451a02b4ba7fde..9fa3301e3483b8e59219d5650a97833feb0ad39c 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Author:       Ian Jackson <ian.jackson@eu.citrix.com>
 #
-# chkconfig: 2345
+# chkconfig: 2345 70 10
 # description: Starts and stops xenstored and xenconsoled
 ### BEGIN INIT INFO
 # Provides:          xenstored xenconsoled